﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace library
{
    public static class Log
    {
        public static void Write(string s)
        {
            lock ("data.txts")
            {
                File.AppendAllText("data.txt", string.Format("{0,2}:{1,2}.{2,1}    {3}\r\n", DateTime.Now.Minute, DateTime.Now.Second,
                            DateTime.Now.Millisecond, s));
            }
        }
    }
}
